//
//  MonsterInfo.h
//  SpaceStorm
//
//  Created by 祥 雍 on 13-5-26.
//  Copyright (c) 2013年 __MyCompanyName__. All rights reserved.
//

#import "TBXML.h"
#import "cocos2d.h"

@interface MonsterInfo : NSObject
{    
    int _shipId;
    NSString* _shipName;
    int _baseShipName;
    
    int _attackSystem1;
    int _attackSystem2;
    int _attackSystem3;
    int _attackSystem4;
    int _attackSystem5;
    int _attackSystem6;
    int _attackSystem7;
    int _attackSystem8;
    
    int _defenseSystem1;
    int _defenseSystem2;
    int _defenseSystem3;
    int _defenseSystem4;
    int _defenseSystem5;
    int _defenseSystem6;
    int _defenseSystem7;
    int _defenseSystem8;
    
    int _servoSystem1;
    int _servoSystem2;
    int _servoSystem3;
    int _servoSystem4;
    int _servoSystem5;
    int _servoSystem6;
    int _servoSystem7;
    int _servoSystem8;
    
    int _airplane1;
    int _airplane2;
    int _airplane3;
    int _airplane4;
    int _airplane5;
    int _airplane6;
    int _airplane7;
    int _airplane8;
    
    NSMutableDictionary* _attackSystemIds;  //攻击武器组
    NSMutableDictionary* _defenseSystemIds; //防御武器组
    NSMutableDictionary* _servoSystemIds;   //辅助系统组
    NSMutableDictionary* _airplaneIds;      //舰载机组
    
    
    int _meritoriousMilitary;
    int _militarySupplies;
    int _falling;
}

@property (readwrite) int shipId;                           //舰船id	
@property (readwrite, retain) NSString* shipName;           //舰船名	
@property (readwrite) int baseShipName;                     //基础船体id

@property (readwrite) int attackSystem1;                    //攻击系统1
@property (readwrite) int attackSystem2;                    //攻击系统2
@property (readwrite) int attackSystem3;                    //攻击系统3
@property (readwrite) int attackSystem4;                    //攻击系统4
@property (readwrite) int attackSystem5;                    //攻击系统5
@property (readwrite) int attackSystem6;                    //攻击系统6
@property (readwrite) int attackSystem7;                    //攻击系统7
@property (readwrite) int attackSystem8;                    //攻击系统8

@property (readwrite) int defenseSystem1;                   //防御系统1
@property (readwrite) int defenseSystem2;                   //防御系统2
@property (readwrite) int defenseSystem3;                   //防御系统3
@property (readwrite) int defenseSystem4;                   //防御系统4
@property (readwrite) int defenseSystem5;                   //防御系统5
@property (readwrite) int defenseSystem6;                   //防御系统6
@property (readwrite) int defenseSystem7;                   //防御系统7
@property (readwrite) int defenseSystem8;                   //防御系统8

@property (readwrite) int servoSystem1;                     //辅助系统1
@property (readwrite) int servoSystem2;                     //辅助系统2
@property (readwrite) int servoSystem3;                     //辅助系统3
@property (readwrite) int servoSystem4;                     //辅助系统4
@property (readwrite) int servoSystem5;                     //辅助系统5
@property (readwrite) int servoSystem6;                     //辅助系统6
@property (readwrite) int servoSystem7;                     //辅助系统7
@property (readwrite) int servoSystem8;                     //辅助系统8

@property (readwrite) int airplane1;                     //舰载机1
@property (readwrite) int airplane2;                     //舰载机2
@property (readwrite) int airplane3;                     //舰载机3
@property (readwrite) int airplane4;                     //舰载机4
@property (readwrite) int airplane5;                     //舰载机5
@property (readwrite) int airplane6;                     //舰载机6
@property (readwrite) int airplane7;                     //舰载机7
@property (readwrite) int airplane8;                     //舰载机8

@property (readwrite) int meritoriousMilitary;              //战功
@property (readwrite) int militarySupplies;                 //军需	      
@property (readwrite) int falling;                          //掉落

@property (readwrite, retain) NSMutableDictionary* attackSystemIds;     //攻击武器组  
@property (readwrite, retain) NSMutableDictionary* defenseSystemIds;    //防御武器组
@property (readwrite, retain) NSMutableDictionary* servoSystemIds;      //辅助系统组
@property (readwrite, retain) NSMutableDictionary* airplaneIds;         //舰载机组


+(id) infoWithTbxml:(TBXMLElement *)tbxml;
-(id) initWithTbxml:(TBXMLElement *)tbxml;

@end
